<template>
  <div id="nav">
    <router-link to="/films/hot">
      <i class="iconfont icon-dianying"></i>
      <p>电影</p>
    </router-link>
    <router-link to="/article">
      <i class="iconfont icon-wenzhang-copy"></i>
      <p>文章</p>
    </router-link>
    <router-link to="/center">
      <i class="iconfont icon-yonghu"></i>
      <p>个人中心</p>
    </router-link>
  </div>
</template>

<script>
export default {

};
</script>

<style scoped>
#nav a {
  font-size: 30px;
}
#nav {
  display: flex;
  height: 80px;
  background: #efefef;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  text-align: center;
}
#nav i {
  font-size: 30px;
  margin-bottom: 10px;
}
#nav p{
    margin-top: 8px;
    font-size: 16px;
}
.router-link-active {
  color: orangered;
}
</style>